//
//  Order.h
//  GoodWayClient
//
//  Created by HuiDong on 15/12/22.
//  Copyright © 2015年 HuiDong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Order : NSObject

@property (nonatomic,assign)int OrderId;//自增主键
@property (nonatomic,strong)NSString *OrderNum;//订单编号
@property (nonatomic,assign)int ProductID;//产品ID
@property (nonatomic,strong)NSString *ProductName;//产品名
@property (nonatomic,assign)int AZUID;//安装点ID
@property (nonatomic,strong)NSString *AZName;//安装点名称
@property (nonatomic,assign)int BuyID;//购买者ID
@property (nonatomic,assign)double OKPrice;//成交价格
@property (nonatomic,assign)int Status;//订单状态（0等待付款 1已付款 2完成订单 -1支付失败 -2交易失败）
@property (nonatomic,strong)NSDate *CreateTime;//下单失败

+ (instancetype)orderWithDic:(NSDictionary *)dic;
- (instancetype)initWithDic:(NSDictionary *)dic;

@end
